IdeaBlade DevForce 2010 Help Reference
GetInstancesImplementing(Type,IEnumerable<String>) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > ReflectionFns Class > GetInstancesImplementing Method : GetInstancesImplementing(Type,IEnumerable<String>) Method



type
Type of instance to probe for and create
probeAssemblyNames
Assemblies to search
Create a list of instances of those types that either extend or implement the specified type or interface.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetInstancesImplementing( _
   ByVal type As Type, _
   ByVal probeAssemblyNames As IEnumerable(Of String) _
) As IEnumerable
Visual Basic (Usage)Copy Code
Dim type As Type
Dim probeAssemblyNames As IEnumerable(Of String)
Dim value As IEnumerable
 
value = ReflectionFns.GetInstancesImplementing(type, probeAssemblyNames)
C# 
public static IEnumerable GetInstancesImplementing( 
   Type type,
   IEnumerable<string> probeAssemblyNames
)
C++/CLI 
public:
static IEnumerable^ GetInstancesImplementing( 
   Type^ type,
   IEnumerable<String^>^ probeAssemblyNames
) 

Parameters

type
Type of instance to probe for and create
probeAssemblyNames
Assemblies to search

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.